<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <meta name="description" content="test">
  <link rel="stylesheet" href="../css/sosh.css">
  <style>
  *{margin: 0;}
  .sosh{padding: 10px;}
  </style>
</head>
<body>
  <div id="share" data-title="shareid", data-pic="http://gameyw-gbox.nosdn.127.net/1433324469433_lfpsve.jpg"></div>
  <div class="share" data-title="classname1" data-url="http://www.163.com" data-sites="tqq,weibo,tieba,weixin,douban,yixin,renren" data-pic="http://gameyw-gbox.nosdn.127.net/1433324469433_lfpsve.jpg"></div>
  <div class="share" data-title="classname2" data-url="http://www.qq.com" data-sites="tqq,weibo,tieba,weixin,yixin,renren"></div>
  <div class="sosh" data-title="share2" data-sites="tqq,weibo,weixin"></div>
  <script src="../js/qrcode.js"></script>
  <script src="../js/sosh.js"></script>
  <script>
    new Sosh('#share', {sites: ['weixin', 'weibo', 'yixin', 'qzone', 'tqq']});
    new Sosh('.share');
  </script>
</body>
</html>
